<?php
class RegexMatch
{
	public static function check($botObj, $tweet, $condition)
	{
		mb_regex_encoding('UTF-8');
		
		mb_ereg_search_init($tweet['message'], $condition);
		$result = mb_ereg_search();
		if($result)
		{
			return true;
		}
		else
		{
			return false;
		}
	}
}
?>